package com.example.carbonalgorithm.entity;

import com.example.carbonalgorithm.common.entity.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@ApiModel("菜单")
@Data
public class SysMenu extends Entity {
    @ApiModelProperty("pid")
    private Integer pid;
    @ApiModelProperty("菜单名")
    private String name;
    @ApiModelProperty("菜单url")
    private String url;
    @ApiModelProperty("菜单权限")
    private List<String> sgins;
    @ApiModelProperty(value = "菜单权限", hidden = true)
    private String sign;
    @ApiModelProperty("数据权限 0 查看个人数据 1 查看全部数据")
    private String dataPower;
    @ApiModelProperty("菜单图标")
    private String image;
}
